package com.groupbuying.store.dao;

import com.groupbuying.store.domain.StoreCompanyInfoDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 企业基本信息
 * @author wenguoqiang
 * @email 17081@mengtaigroup.com
 * @date 2019-01-29 15:52:35
 */
@Mapper
@Repository
public interface StoreCompanyInfoDao {

	StoreCompanyInfoDO get(String uuid);
	
	List<StoreCompanyInfoDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(StoreCompanyInfoDO storeCompanyInfo);
	
	int update(StoreCompanyInfoDO storeCompanyInfo);
	
	int remove(String uuid);
	
	int batchRemove(String[] uuids);

	/**
	 * 通过storeUuids 获取集合
	 * @param params
	 * @return
	 */
    List<StoreCompanyInfoDO> getByStoreUuids(Map<String,Object> params);
}
